package com.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp {
    private int empId;
    private String empName;
    private String email;
    private String gender;
    private int dId;
    private Dept dept;
    public Emp(int empId,String empName,String gender,String email,int dId){
        this.empId=empId;
        this.empName=empName;
        this.gender=gender;
        this.email=email;
        this.dId=dId;
    }

}
